package com.niuwa.p2p.entity.account;
/***********************************************************************
 * Module:  P2pAccount.java
 * Author:  admin
 * Purpose: Defines the Class P2pAccount
 ***********************************************************************/

import java.math.BigDecimal;

/** 客户账户表
 * 
 * @pdOid f04926e3-f123-455e-8528-1b938ade426d */
public class Account {
  
	/** 客户账户号
     * 
     * @pdOid 94974fa6-affd-4692-ae77-674b20dfcdee */
    public String accountNo;
    /** 客户ID
     * 
     * @pdOid 0d4475b2-788f-4ac5-b49e-c14f80c53b15 */
    public Long custId;
    /** 待收本金
     * 
     * @pdOid d0782a23-ef25-44b0-bad7-a7672d24157b */
    public BigDecimal collectingPrincipal;
    /** 待收收益
     * 
     * @pdOid 989fce22-cb5c-49ea-81e2-80239c3c7a20 */
    public BigDecimal collectingRevenue;
    /** 冻结金额
     * 
     * @pdOid 6845b7e8-07a0-4068-afa9-1209429cd90d */
    public BigDecimal forzenAmount;
    /** 账户状态
     * 
     * @pdOid 4df5e5ac-6308-430c-951f-530616e935a3 */
    public java.lang.String accountStatus;
    /** 已收本金
     * 
     * @pdOid 345c5a9c-b0b8-4bbe-b857-cdab76d5c8a7 */
    public BigDecimal collectedPrincipal;
    /** 已收收益
     * 
     * @pdOid 0dc8a858-92ff-4ce5-967d-49e9232cc866 */
    public BigDecimal collectedRevenue;
    /** 可用余额
     * 
     * @pdOid 4f7326a5-2e8e-4985-a456-976a8735873a */
    public BigDecimal usableBalance;
    /** 最后更新时间
     * 
     * @pdOid 85bb79f7-27d3-4720-b9c6-cc9ec39111f5 */
    public java.util.Date updateTime;
    /** 锁定时间
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public java.util.Date lockTime;
    /** 账户属性默认值
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public String isDefault;
    /** 客户账户规则ID
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public Long custRuleId;
    /**已提现金额
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public BigDecimal withdrewAmount;
    /**累投金额
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public BigDecimal allInvestAmount;
    /**账户余额
     * 
     * @pdOid b9abc726-f5dc-476b-bb43-bd0e4e343ebf */
    public BigDecimal acctBal;
    
	/** 投资总金额
     */
    public String investFlg;
    
    /** 借款总金额
     */
    public String loanFlg;

    /***
     * 累计充值金额
     */
    private BigDecimal allRechargeAmount;
    
    /** 额度是否已激活
     */
    private int creditLimit;
    
    /** 信用总额
     */
    private double creditLimitSum;
    
    /** 剩余信用额度
     */
    private double creditLimitSurPlus;
    
	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public Long getCustId() {
		return custId;
	}

	public void setCustId(Long custId) {
		this.custId = custId;
	}

	public BigDecimal getCollectingPrincipal() {
		return collectingPrincipal;
	}

	public void setCollectingPrincipal(BigDecimal collectingPrincipal) {
		this.collectingPrincipal = collectingPrincipal;
	}

	public BigDecimal getCollectingRevenue() {
		return collectingRevenue;
	}

	public void setCollectingRevenue(BigDecimal collectingRevenue) {
		this.collectingRevenue = collectingRevenue;
	}

	public BigDecimal getForzenAmount() {
		return forzenAmount;
	}

	public void setForzenAmount(BigDecimal forzenAmount) {
		this.forzenAmount = forzenAmount;
	}

	public java.lang.String getAccountStatus() {
		return accountStatus;
	}

	public void setAccountStatus(java.lang.String accountStatus) {
		this.accountStatus = accountStatus;
	}

	public BigDecimal getCollectedPrincipal() {
		return collectedPrincipal;
	}

	public void setCollectedPrincipal(BigDecimal collectedPrincipal) {
		this.collectedPrincipal = collectedPrincipal;
	}

	public BigDecimal getCollectedRevenue() {
		return collectedRevenue;
	}

	public void setCollectedRevenue(BigDecimal collectedRevenue) {
		this.collectedRevenue = collectedRevenue;
	}

	public BigDecimal getUsableBalance() {
		return usableBalance;
	}

	public void setUsableBalance(BigDecimal usableBalance) {
		this.usableBalance = usableBalance;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

	public java.util.Date getLockTime() {
		return lockTime;
	}

	public void setLockTime(java.util.Date lockTime) {
		this.lockTime = lockTime;
	}

	public String getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(String isDefault) {
		this.isDefault = isDefault;
	}

	public Long getCustRuleId() {
		return custRuleId;
	}

	public void setCustRuleId(Long custRuleId) {
		this.custRuleId = custRuleId;
	}

	public BigDecimal getWithdrewAmount() {
		return withdrewAmount;
	}

	public void setWithdrewAmount(BigDecimal withdrewAmount) {
		this.withdrewAmount = withdrewAmount;
	}

	public BigDecimal getAllInvestAmount() {
		return allInvestAmount;
	}

	public void setAllInvestAmount(BigDecimal allInvestAmount) {
		this.allInvestAmount = allInvestAmount;
	}

	public BigDecimal getAcctBal() {
		return acctBal;
	}

	public void setAcctBal(BigDecimal acctBal) {
		this.acctBal = acctBal;
	}

	public String getInvestFlg() {
		return investFlg;
	}

	public void setInvestFlg(String investFlg) {
		this.investFlg = investFlg;
	}

	public String getLoanFlg() {
		return loanFlg;
	}

	public void setLoanFlg(String loanFlg) {
		this.loanFlg = loanFlg;
	}

	public BigDecimal getAllRechargeAmount() {
		return allRechargeAmount;
	}
	
	public void setAllRechargeAmount(BigDecimal allRechargeAmount) {
		this.allRechargeAmount = allRechargeAmount;
	}

	public int getCreditLimit() {
		return creditLimit;
	}

	public void setCreditLimit(int creditLimit) {
		this.creditLimit = creditLimit;
	}

	public double getCreditLimitSum() {
		return creditLimitSum;
	}

	public void setCreditLimitSum(double creditLimitSum) {
		this.creditLimitSum = creditLimitSum;
	}

	public double getCreditLimitSurPlus() {
		return creditLimitSurPlus;
	}

	public void setCreditLimitSurPlus(double creditLimitSurPlus) {
		this.creditLimitSurPlus = creditLimitSurPlus;
	}
}